css id with mask wildcard

51

*[id^='term-']{
    [css here]
}

div[class^="tocolor-"], div[class*=" tocolor-"] {
    [css here]
}

In the place of div you can add any element or remove it altogether, and in the place of class you can add any attribute of the specified element.

[class^="tocolor-"] — starts with "tocolor-".
[class*=" tocolor-"] — contains the substring "tocolor-" occurring directly after a space character.

Comments

Submit
0 Comments